﻿using System;
using System.Windows.Forms;

namespace Inaction.UI
{
    [Serializable]
    public class BarItemClickEventArgs : EventArgs
    {
        bool cancel = false;
        public bool Cancel
        {
            get { return cancel; }
            set { cancel = value; }
        }

        bool applied = false;
        public bool Applied
        {
            get { return applied; }
            set { applied = value; }
        }
        public BindingSource Source { get; internal set; }

        public BarItemClickEventArgs(BindingSource bindingSource)
        {
            this.Source = bindingSource;
        }
    }
}
